Type PythonList<T>
Namespace LostTech.Gradient.BuiltIns
Parent PythonCollection<T, TSeq>
Interfaces IList<T>, IReadOnlyList<T>
Wraps an instance of Python's list type
Methods
Properties
Public instance methods
void Add(T item)
bool Contains(T item)
int IndexOf(T item)
void Insert(int index, T item)
void RemoveAt(int index)
Removes list item at the specified index.
Parameters
-
int
index - Index of the item to remove
Public properties
int Count get;
T Item get; set;
Gets or sets the item at the specified index. Can count from the end using negative numbers.